package com.eamois.dao.sys;

import java.util.Collection;
import java.util.List;

import com.eamois.dao.BaseDao;
import com.eamois.domain.manual.WorkStep;
import com.eamois.domain.sys.SubMaterial;
import com.eamois.domain.sys.SubMaterialType;

public interface SubMaterialDao extends BaseDao<SubMaterial>{
	Collection<SubMaterial> findAllSubMaterial();
	Collection<SubMaterial> findSubMaterialByName(String name,String code,boolean isLike);
	Collection<SubMaterial> findMaterialByType(SubMaterialType subMaterialType,int page);
	Collection<SubMaterial> findMaterial(String name,String code,String parameter,String remark);
	Collection<String> findMaterialIds();
	boolean findMaterial(String id);
	SubMaterial findMaterialById(String id);
	Collection<SubMaterial> findMaterialByTypeAll(SubMaterialType subMaterialType);
	
	Collection<SubMaterial> findByBelongId(String id);
}
